package com.pack.dao;

import com.pack.BaseUtil.CrudDao;
import com.pack.ToolEntity.MyBatisDao;
import com.pack.bean.User;
import java.util.List;

@MyBatisDao
public interface UserDao  extends CrudDao<User> {

    /**
     * 权限列表
     * @param username
     * @return
     */
    List<User> findPermissionList(User username);

    /**
     * 角色列表
     * @param username
     * @return
     */
    List<User> findRoleList(User username);
    
}